package com.leyou.mall.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xhh
 * @since 2022-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MallActivityType对象", description="")
public class MallActivityType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "活动类型id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "名称")
    private String name;

      @TableField(fill = FieldFill.INSERT)
    private Date insertTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date modifiedTime;

    @TableLogic
    private Integer deleted;


}
